import request from '@/utils/request'

// 潮汐数据
export function getChaoData(params) {
  return request({
    url: '/api/chao/getChaoData',
    method: 'post',
    data: params
  })
}

// 内波数据
export function getNeiBoData(params) {
  return request({
    url: '/api/neiBo/getNeiBoData',
    method: 'post',
    data: params
  })
}

// 跃层数据
export function getYueCengData(params) {
  return request({
    url: '/api/yueCeng/getYueCengData',
    method: 'post',
    data: params
  })
}
//锋面强度数据
export function getFengMianData(params) {
  return request({
    url: '/api/HaiYang/getHaiYangData',
    method: 'post',
    data: params
  })
}
//锋面中心以及轮廓
export function getFengmianLunKuoData(params) {
  return request({
    url: '/api/LunKuo/getLunKuoData',
    method: 'post',
    data: params
  })
}
//重要潮站数据
export function getChaoZhanData(params) {
  return request({
    url: '/api/guanCe/getGuanCeData',
    method: 'post',
    data: params
  })
}
//盐度
export function getYanDuData(params) {
  return request({
    url: '/api/yanDu/getYanDuData',
    method: 'post',
    data: params
  })
}
//盐度高度
export function getYanDuHighData(params) {
  return request({
    url: '/api/yanDu/getYanDuHighData',
    method: 'post',
    data: params
  })
}
//温度
export function getWenDuData(params) {
  return request({
    url: '/api/wenDu/getWenDuData',
    method: 'post',
    data: params
  })
}
//温度深度
export function getWenDuHighData(params) {
  return request({
    url: '/api/wenDu/getWenDuHighData',
    method: 'post',
    data: params
  })
}
//海流
export function getHaiLiuData(params) {
  return request({
    url: '/api/haiLiu/getHaiLiuData',
    method: 'post',
    data: params
  })
}
//中尺度涡
export function getXuanWoData(params) {
  return request({
    url: '/api/xuanWo/getXuanWoData',
    method: 'post',
    data: params
  })
}
//海表面高
export function getXuanWoSLAData(params) {
  return request({
    url: '/api/xuanWo/getXuanWoSLAData',
    method: 'post',
    data: params
  })
}
//内波断面
export function getNeiBoBeiJingData(params) {
  return request({
    url: '/api/NeiBoBeiJing/getNeiBoBeiJingData',
    method: 'post',
    data: params
  })
}
//内波断面
export function getNeiBoPouMianData(params) {
  return request({
    url: '/api/NeiBoPouMian/getNeiBoPouMianData',
    method: 'post',
    data: params
  })
}
//潜标
export function getQianBiaoData(params) {
  return request({
    url: '/api/QianBiao/getQianBiaoData',
    method: 'post',
    data: params
  })
}
//下载
export function getDownload(params) {
  return request({
    url: `/api/public/dow?ctime=${params.ctime}&type=${params.type}`,
    method: 'get',
    responseType: 'blob',
  })
}
//断面
export function getYanDuPouMianData(params) {
  return request({
    url: '/api/YanDuPouMian/getYanDuPouMianData',
    method: 'post',
    data: params
  })
}
//剖面
export function getYanDuPouMianDataByPoint(params) {
  return request({
    url: '/api/YanDuPouMian/getYanDuPouMianDataByPoint',
    method: 'post',
    data: params
  })
}